<template>
  <div class="home">
    <img alt="Vue logo" src="../assets/logo.png" />
    <echarta></echarta>
  </div>
</template>
<script>
import { getPicCode } from "../components/api/api";
import echarta from "../components/echart.vue"
export default {
  name: "HomeView",
  components: {echarta},
  mounted() {
    //接口引用
    getPicCode().then((res) => {
      console.log("返参:", res.data);
    });
  },
};
</script>
